var n = null;

Page({
    data: {},
    onLoad: function(o) {
        // wx.createInterstitialAd && ((n = wx.createInterstitialAd({
        //     adUnitId: "adunit-db43df0372632b12"
        // })).onLoad(function() {}), n.onError(function(n) {}), n.onClose(function() {}));
    },
    onReady: function() {},
    onShow: function() {
        // n && n.show().catch(function(n) {
        //     console.error(n);
        // });
    },
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {
        return {
            title: "@朋友了你！快看我发现了这个好用的小程序！",
            desc: "用LED为祖国母亲庆生加油～",
            imageUrl: "/static/images/home/share_img.jpg",
            path: "/pages/home/home",
            success: function(n) {
                console.log(n);
            }
        };
    },
    onShareTimeline: function() {
        return {
            title: "@了你！快看我发现了这个好用的LED弹幕小程序！",
            desc: "用LED为祖国母亲庆生加油～",
            imageUrl: "/static/images/home/share_img.jpg",
            path: "/pages/home/home",
            success: function(n) {
                console.log(n);
            }
        };
    }
});